package org.jeecg.modules.scm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: scm_receivables_transfer_application
 * @Author: jeecg-boot
 * @Date: 2021-11-09
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "应收账款转让申请信息对象", description = "scm_receivables_transfer_application")
public class TransferApplicationQueryPageDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 持有人客户号
     */
    @ApiModelProperty(value = "持有人客户号")
    private Integer ownerCusNo;
    /**
     * 受让方客户号
     */
    @ApiModelProperty(value = "受让方客户号")
    private Integer transfereeCusNo;
    /**
     * 申请开始日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请开始日期")
    private Date applyStartTime;
    /**
     * 申请结束日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请结束日期")
    private Date applyEndTime;

    List<String> applicationIds;

}
